$bool = Date.IsLeapYear (
"
<date>
"
)
Checks whether a given year is leap year or not.
Parameters
<date>
The date to be checked.
Return Value
Returns
1
if it is a leap year, else returns
0
.
Example
$sdate = "20/11/2000" $ret = date.IsLeapYear($sdate)
$ret
contains
1
.